//表配置
const TABLE_CONFIG_LIST = [
    {
        type: 'provider',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'providerImpl',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'service',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'serviceImpl',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'controller',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'entity',
        moduleName: 'bridge-ops-common',
        packageRootName: 'com.coocaa.ops.common.core.biz',
        subPackageName: 'test',
        disable: 0
    },
    {
        type: 'model',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 1
    },
    {
        type: 'mapper',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 0
    },
    {
        type: 'xml',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 0
    },
    {
        type: 'biz',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 0
    },
    {
        type: 'bizImpl',
        moduleName: 'bridge-ops-admin',
        packageRootName: 'com.coocaa.ops.admin.v1',
        subPackageName: 'test',
        disable: 0
    }
];

//代码生成配置
const CODE_GEN_CONFIG = {
    id: undefined,
    type:'pisces',
    author: 'bjh',
    localRunning: 0,
    outputDir: '/Users/bijiahao/log/cg',
    openDirAfterDone: 1,
    useProjectPath: 1,
    dataSourceConfig: {
        url: 'jdbc:mysql://172.20.154.103:3406/homepage_resource_client_test2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&',
        username: 'test_home_gd',
        password: 'test_home12029901',
    },
    tableList: [],
    packageConfig: {
        entity: 'entity',
        model: 'model',
        mapper: 'mapper',
        xml: 'mapper',
        biz: 'biz',
        bizImpl: 'biz.impl',
        provider: 'provider',
        providerImpl: 'provider.impl',
        service: 'service',
        serviceImpl: 'service.impl',
        controller: ''
    },
    classNameConfig: {
        entityName: 'Entity',
        modelName: 'Model',
        mapperName: 'Mapper',
        xmlName: 'Mapper',
        bizName: 'Biz',
        bizImplName: 'BizImpl',
        providerName: 'Provider',
        providerImplName: 'ProviderImpl',
        serviceName: 'Service',
        serviceImplName: 'ServiceImpl',
        controllerName: 'Controller'
    },
    strategyConfig: {
        superEntityClass: 'com.coocaa.ops.common.core.base.entity.BaseEntity',
        superModelClass: 'com.coocaa.ops.common.core.base.model.BaseModel',
        superMapperClass: ' com.coocaa.ops.common.core.base.mapper.IBaseMapper',
        superBizImplClass: 'com.coocaa.ops.common.core.base.BaseBizImpl',
        superServiceClass: '',
        superServiceImplClass: '',
        superControllerClass: 'com.coocaa.ops.admin.base.controller.MgrBaseController'
    }
};